<?php
	####################################################
	# library import and object instance.              #
	####################################################
	# 커먼 인클루드
	include_once( '../common.php' );

	####################################################
	# request data($_POST AND $_GET FROM $_REQUEST)    #
	####################################################
	# REQUEST(get and post variables)
	//*/
	$req = Request::clean_request($_REQUEST, FALSE);
	//*/

	# GET(url variables)
	//*/
	//*/

	# POST(form variables)
	//*/
	//*/

	# Validation(special case validate)
	//*/
	//*/

	####################################################
	# implementation                                   #
	####################################################
	$sec->individual_access();
	$sec->run_cookie_check();

	# @@todo 구현 : 추가하기
	# @@todo 구현 : ntdd 파일 목록
?>
<?php
	# HTML START
	echo $html->custom_header(TITLE);
	echo $tplt->page_construct_javascript();
	echo $html->custom_js("{$JS}common.js");
	echo $html->custom_css("{$CSS}common.css");
	echo $html->custom_body();
?>
	<?php $tplt->app_head($NAVI)?>
	<?php $tplt->tiles_admin_sidebar($NAVI)?>
	<?php $tplt->tiles_admin_contents($pkname, $pname, $pdesc)?>




		<h4>연구 추가</h4>
		<table class="tbl" border="0" cellpadding="0" cellspacing="0">
			<colgroup>
				<col width="40" />
				<col width="40" />
				<col width="80" />
				<col width="*" />
				<col width="*" />
				<col width="*" />
				<col width="60" />
			</colgroup>
			<tr>
				<td class="th">새로운 연구 추가</td>
				<td>
					<?php echo NForm::open(NULL, FALSE, "create");?>
						<?php echo NForm::mode('create')?>
							<input type="text" name="map[labs_file][]" value="labs" class="inp" onfocus="$(this).alphanumeric({allow:'_'})" style="ime-mode:inactive;" />.
							<input type="text" name="map[labs_file][]" value="" class="inp" onfocus="$(this).alphanumeric({allow:'_'})" style="ime-mode:inactive;" />.
							<input type="text" name="map[labs_file][]" value="" class="inp" onfocus="$(this).alphanumeric({allow:'_'})" style="ime-mode:inactive;" />
							<span class="cbtn_s" onclick="$('#formx_create').submit();">추가</span>
					<?php echo NForm::close();?>
				</td>
			</tr>
		</table>


<?php
	# HTML END
	echo $tplt->tiles_admin_footer();
	echo $tplt->page_destruct_javascript();
	include_once('../endproc.php');
	echo $html->html_footer();
?>